package com.nanhai.buddhist.college.module.study.convert.studyplan;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.study.controller.admin.studyplan.vo.*;
import com.nanhai.buddhist.college.module.study.dal.dataobject.studyplan.StudyPlanDO;

/**
 * 教学计划 Convert
 *
 * @author xqenzo@163.com
 */
@Mapper
public interface StudyPlanConvert {

    StudyPlanConvert INSTANCE = Mappers.getMapper(StudyPlanConvert.class);

    StudyPlanDO convert(StudyPlanCreateReqVO bean);

    StudyPlanDO convert(StudyPlanUpdateReqVO bean);

    StudyPlanRespVO convert(StudyPlanDO bean);

    List<StudyPlanRespVO> convertList(List<StudyPlanDO> list);

    PageResult<StudyPlanRespVO> convertPage(PageResult<StudyPlanDO> page);

    List<StudyPlanExcelVO> convertList02(List<StudyPlanDO> list);

}
